<%@ page contentType="text/html;charset=UTF-8" %>
<html>
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
  <meta name="layout" content="stmain"/>
  <link rel="stylesheet" href="${resource(dir: 'css', file: 'details.css')}" type="text/css"/>
  <title>SimTester - Detailed Results</title>
</head>
<body>
  <h2>Detailed Results</h2>
  <table id="details-table" class="sttable">
    <thead>
      <tr>
        <th class="timestamp-width">Timestamp</th>
        <th>Type</th>
        <th>Message</th>
        <th>Resp. Time</th>
      </tr>
    </thead>
    <tbody>
      <g:each in="${entries}" var="e">
        <tr>
          <td><g:formatDate date="${e.timestamp}" format="MM/dd/yyyy HH:mm:ss.SSS"/></td>
          <td>${e.type}</td>
          <td>${e.level + ': ' + e.entry}</td>
          <td>${e.response}</td>
        </tr>
      </g:each>
    </tbody>
  </table>
</body>
</html>